// 初始值
const state = {
  number: 10,
  showDialog: false
}
const getters = {
  visibleDialog (state) { // 这里的state对应着上面这个state
    return !state.showDialog
  }
}
export { state, getters }
